Fix config loading test
authorAleksey Kladov <aleksey.kladov@gmail.com>
Sun, 24 Jul 2016 18:16:21 +0000 (21:16 +0300)
committerAleksey Kladov <aleksey.kladov@gmail.com>
Sun, 24 Jul 2016 18:16:21 +0000 (21:16 +0300)
tests/bad-config.rs

index 3b806ef463a36972b78711cf2f80d6b04e2b7e74..710416b8e2ecba2dcbd314e02e51558b7a01f25a 100644 (file)
@@ -112,7 +112,10 @@ fn bad5() {
     assert_that(foo.cargo("new")
                    .arg("-v").arg("foo").cwd(&foo.root().join("foo")),
                 execs().with_status(101).with_stderr("\
-[ERROR] Couldn't load Cargo configuration
+[ERROR] Failed to create project `foo` at `[..]`
+
+Caused by:
+  Couldn't load Cargo configuration
 
 Caused by:
   failed to merge key `foo` between files: